import request from "@/utils/request";

// 获取已有的医院的是数据接口地址
export const reqHospital = (page, limit, hostype, districtCode) => {
  return request.get(
    "/hosp/hospital/" +
      `${page}/${limit}?hostype=${hostype}&districtCode=${districtCode}`
  );
};

// 获取医院等级和地区的接口
export const reqHospitalLevelAndRegion = (distCCode) => {
  return request.get("/cmn/dict/findByDictCode/" + distCCode);
};

// 搜索筛选医院接口
export const reqHospitalInfo = (hasname) => {
  return request.get("/hosp/hospital/findByHosname/" + hasname);
};
